package cn.tedu.shoppingmall.vo;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
@Data
public class Report {
    private Integer id;   //-->  浏览器拆分的id  手动修改进来

    private String title;    //这
    private String content;  //四
    private LocalDateTime created;    //个
    private Integer clsId;   //是用户输入进来的,不用管
    private String createdStr;  //这个为了前台显示好点,做了显示格式转换,用的临时属性

    private String url;//-->  浏览器传过来的文件  处理后手动修改进来


    @Override
    public String toString() {
        return "Report{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", created=" + created +
                ", clsId=" + clsId +
                ", createdStr='" + createdStr + '\'' +
                ", url='" + url + '\'' +
                '}';
    }

    public String getCreatedStr() {
        return createdStr;
    }

    public void setCreatedStr(String createdStr) {
        this.createdStr = createdStr;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public LocalDateTime getCreated() {
        return created;
    }

    public void setCreated(LocalDateTime created) {
        this.created = created;
    }

    public Integer getClsId() {
        return clsId;
    }

    public void setClsId(Integer clsId) {
        this.clsId = clsId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
